Skip to content

Conversation

@wyattjoh
Copy link
Member

@wyattjoh wyattjoh commented Oct 18, 2025

Added documentation for use cache: private.

@ijjk ijjk added created-by: Next.js team PRs by the Next.js team. Documentation Related to Next.js' official documentation. labels Oct 18, 2025
@wyattjoh wyattjoh marked this pull request as ready for review October 20, 2025 22:58
@wyattjoh wyattjoh force-pushed the docs/use-cache-private branch from 419a8c1 to ae68909 Compare October 20, 2025 23:09
@wyattjoh wyattjoh force-pushed the docs/use-cache-private branch from 47b246f to 4f8fbad Compare October 20, 2025 23:11
@wyattjoh wyattjoh merged commit 3f8febe into canary Oct 21, 2025
74 checks passed
@wyattjoh wyattjoh deleted the docs/use-cache-private branch October 21, 2025 00:03
// REQUIRED: Enable runtime prefetching
export const unstable_prefetch = {
mode: 'runtime',
samples: [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is samples here? it's used throughout every example but isn't explained anywhere, so i'd have no idea what to put there. are these meant to be actual values from somewhere? or literal "samples" as in "examples"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

created-by: Next.js team PRs by the Next.js team. Documentation Related to Next.js' official documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants